package com.hxzy.region.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hxzy.region.pojo.ClassRoom;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ClassRoomMapper extends BaseMapper<ClassRoom> {

    @Select("select * from t_classroom where re_id = #{rid}")
    public List<ClassRoom> getClassRoomByRid(Integer rid);

}
